package com.sbpm.crmbpm.client.util;

import com.sencha.gxt.widget.core.client.form.TextField;

public class FieldUtils
{
    public static String getStringOrNull( TextField field )
    {
        return field.getCurrentValue() != null && field.getCurrentValue().length() > 0 ? field.getValue() : null;
    }
}
